package mn.idax.exchange.otc.enums.response;

import lombok.Getter;

/**
 * Create by jack_huang on 2018/8/9
 */
@Getter
public enum UserResponseEnum {


    //用户不存在
    USER_ISNOTEXIST(210010,"user  is not exist"),

    USER_LISTTYPE(210011,"userList type is error"),

    USER_LISTTYPEISNULL(210012,"user type can not empty"),

    NICKNAMEISEMPTY(210013,"userId can not empty"),

    USER_ADDGOODLISTFAIL(210014,"add good list fail"),

    USER_REMOVEGOODLISTFAIL(210015,"remove good list fail"),

    USER_TRUSTORBLACK(210016,"can not either trustList or blackList"),

    USER_ADDEDGOODLIST(210017,"you hava add user to trustList"),

    USER_ADDEDBLACKLIST(210018,"you hava add user to blackList"),

    USER_ADDBLACKLISTFAIL(210019,"add black list fail"),

    USER_REMOVEBLOCKLISTFAIL(210020,"remove black list fail"),

    UNIQUEKEYISEMPTY(210021,"uniqueKey is empty"),

    USER_NICK_NAME_UNABLE_UPDATE(210024,"Nickname unmodifiable"),

    USER_UPDATE_NICK_NAME_FAIL(210025,"Change nickname failed"),

    USER_UPDATE_ICON_FAIL(210026,"Change icon failed"),

    USER_NOT_LOGGIN(210027,"user is not loggin"),

    USER_NOT_CERTIFICATE(210033,"Cannot add payment method without real name"),

    PAY_METHOD_NOT_SUPPORT(210034,"This payment method is not yet supported"),

    USER_LANGUAGE_IS_EMPTY(210035,"Failed to get the language, please try again later"),

    PIC_ADDRESS_ERROR(210037,"The image address is incorrect"),

    USER_PASSWORD_ERROR(210038,"Login password entered incorrectly"),
    USER_ALREADY_EXISTS(210039,"User already exists"),
    MOBILE_ALREADY_EXISTS(210040,"Mobile already exists"),
    ;
    private Integer respCode;

    private String respMsg;

    UserResponseEnum(Integer respCode, String respMsg) {
        this.respCode = respCode;
        this.respMsg = respMsg;
    }
}
